home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
UTILITY1
/
HK10.ZIP
/
HKSRC.ZIP
/
HK.RC
< prev
next >
Wrap
Text File
|
1993-07-12
|
4KB
|
103 lines
//===========================================================
// HK.RC - Resource script
// Copyright (C) 1993 Douglas Boling
//===========================================================
#include "windows.h"
#include "HK.h"
WinHKIcon ICON HK.ico
//---------------------------------------------------------
// Main Window Dialog template
//---------------------------------------------------------
WinHK DIALOG 23, 20, 220, 92
CLASS "WinHK"
CAPTION "HK"
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
FONT 8, "Helv"
BEGIN
LISTBOX IDD_KEYLIST, 5, 5, 165, 87,
WS_TABSTOP | WS_VSCROLL | WS_HSCROLL | LBS_USETABSTOPS
DEFPUSHBUTTON "&Add...", IDD_ADD, 175, 5, 40, 15
PUSHBUTTON "&Delete", IDD_DEL, 175, 22, 40, 15
PUSHBUTTON "&Change", IDD_EDIT, 175, 39, 40, 15
PUSHBUTTON "A&bout", IDD_ABOUT, 175, 56, 40, 15
PUSHBUTTON "E&xit", IDD_EXIT, 175, 73, 40, 15
END
//---------------------------------------------------------
// Add Dialog
//---------------------------------------------------------
AddBox DIALOG 23, 20, 175, 53
CAPTION "Add HotKey"
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
FONT 8, "Helv"
BEGIN
LTEXT "Command line:", -1, 5, 5, 120, 10
EDITTEXT IDD_ADDCMD, 5, 15, 120, 12, WS_TABSTOP | ES_AUTOHSCROLL
LTEXT "Hot Key:", -1, 5, 32, 35, 10
EDITTEXT IDD_ADDKEY, 45, 30, 80, 12, WS_TABSTOP
PUSHBUTTON "&Browse...",IDD_ADDBROWSE, 130, 5, 40, 12, WS_TABSTOP
DEFPUSHBUTTON "&Add", IDOK, 130, 20, 40, 12, WS_TABSTOP
PUSHBUTTON "Cancel", IDCANCEL, 130, 35, 40, 12, WS_TABSTOP
END
//---------------------------------------------------------
// About Box Dialog template
//---------------------------------------------------------
AboutBox DIALOG 23, 20, 140, 114
CAPTION "About HK"
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
FONT 8, "Helv"
BEGIN
ICON "WinHKIcon", -1, 5, 5, 16, 16
CTEXT "HK ", IDD_PROGSTR, 40, 12, 60, 10
CTEXT "A Hot Key program", -1, 10, 24, 120, 10
CTEXT "for Windows", -1, 10, 36, 120, 10
CTEXT "Copyright \251 1993 Douglas Boling",
-1, 10, 48, 120, 10
CTEXT "First published in PC Magazine"
-1, 10, 60, 120, 10
CTEXT "October 12, 1993" -1, 10, 72, 120, 10
CTEXT "US Edition" -1, 10, 84, 120, 10
DEFPUSHBUTTON "OK", IDOK, 50, 96, 40, 12
END
//---------------------------------------------------------
// String table containing error messages
//---------------------------------------------------------
STRINGTABLE {
0, "Out of system memory"
1, "Windows launch error code 1"
2, "File not found"
3, "Path not found"
4, "Windows launch error code 4"
5, "File sharing error"
6, "Library cannot be shared"
7, "Windows launch error code 7"
8, "Not enough memory for application"
9, "Windows launch error code 9"
10, "Bad Windows version"
11, "Bad EXE format"
12, "Program needs different Operating system"
13, "Program designed for European DOS 4"
14, "Unknown EXE type"
15, "Cannot start Real Mode applicaiton"
16, "Cannot start more than one instance"
17, "Windows launch error code 17"
18, "Windows launch error code 18"
19, "EXE file compressed"
20, "Windows launch error code 20"
21, "Win 32 program"
22, "Windows launch error code 22"
23, "Windows launch error code 23"
24, "Windows launch error code 24"
25, "Windows launch error code 25"
26, "Windows launch error code 26"
27, "Windows launch error code 27"
28, "Windows launch error code 28"
29, "Windows launch error code 29"
30, "Windows launch error code 30"
31, "Windows launch error code 31"
32, "Error starting program:\n\n"
}